using System;
using System.Data;
using GoodsInvoicing.Views.View;
using GoodsInvoicing.BLL.Service;

namespace GoodsInvoicing.Presentions.Presenter
{
    /// <summary>
    /// 表[GI_Role]的Presenter实现类
    /// </summary>
    public class RoleListFormPresenter : IRoleListFormPresenter
    {
        private RoleListFormPresenter()
        {
            throw new NotSupportedException("无接口的实现.");
        }

        public RoleListFormPresenter(IRoleListForm view, IGI_RoleService _RoleService)
        {
            this.view = view;
            this.service = _RoleService;
        }

        #region 属性
        private IRoleListForm view;
        public IRoleListForm View
        {
            get{ return view;}
        }

        private IGI_RoleService service;
        public IGI_RoleService Service
        {
            get { return service; } 
        }

        #endregion 属性

        public void InitializeView()
        {
            throw new NotImplementedException();
        }
    }
}

